package com.chat.db.nosql.redis;

import com.chat.db.Transaction;
import com.chat.db.nosql.NoSqlSession;

import java.util.List;
import java.util.Map;

public class RedisSession extends NoSqlSession {

    DbRedis db;
    public RedisSession(DbRedis db) {
        this.db = db;
    }

    @Override
    public Transaction beginTransaction() {
        return null;
    }

    @Override
    public <T> T save(T entity) {
        return null;
    }

    @Override
    public <T> T delete(T entity) {
        return null;
    }

    @Override
    public <T> T update(T entity) {
        return null;
    }

    @Override
    public <T> T findOne(T entity) {
        return null;
    }

    @Override
    public List<Map<String, Object>> query(String sql) {
        return null;
    }

    @Override
    public Object execute(String sql) {
        return null;
    }
}
